package com.cjl.web.backend;

import com.cjl.entity.EbProduct;
import com.cjl.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.security.PublicKey;
import java.util.List;

@Controller
@RequestMapping("/index")
public class IndexController {
    @Autowired
    private ProductService productService;
    @RequestMapping("/manage")
    //跳转到后台首页
    public  String manage(){
        return "manage/index";
    }
    //跳转到前台首页
    @RequestMapping("/front")
    public String front(){
        return "index";//index.jsp
    }

}
